package com.cc.service;

import com.cc.entity.Employee;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EmployeeService {

    //获取所有员工
    List<Employee> getAllEmployee();

    //分页
    PageInfo<Employee> getEmployeeByPage(Integer pageNum);

    //增加员工信息
    int addEmployee(Employee employee);

}
